﻿<%@ Page Title="" Culture="en-GB" Language="C#" MasterPageFile="~/MasterPages/AdminMaster.master" AutoEventWireup="true" CodeFile="Assessment_interview_schedule_report.aspx.cs" Inherits="Assessment_interview_schedule_report" %>



<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <ajaxToolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
    </ajaxToolkit:ToolkitScriptManager>
    <div class="col-md-12">
        <div class="panel-body" style="width: 100%; padding: 0px;">
            <div class="well well-sm" style="font-size: large">Assessment Interview Schedule Report</div>

            <div class="row">
                <div class="col-lg-2 text-right">
                    <span class="control-label">Search By:</span>
                </div>
                <div class="col-lg-3">
                    <asp:DropDownList ID="ddlEmail" runat="server" AutoPostBack="true" CssClass="dropdown-header" Style="width: 100%;" OnSelectedIndexChanged="ddlEmail_SelectedIndexChanged">
                        <asp:ListItem Value="0" Text="-- Select --"></asp:ListItem>
                        <asp:ListItem Value="EMAIL" Text="Email ID"></asp:ListItem>
                        <asp:ListItem Value="REGISTRATION" Text="Registration No."></asp:ListItem>
                        <asp:ListItem Value="CANDIDATE" Text="Candidate Name"></asp:ListItem>
                    </asp:DropDownList>
                </div>
                <div class="col-lg-2 text-right">
                    <asp:Label ID="lblvalue" runat="server"></asp:Label>
                </div>
                <div class="col-lg-3">
                    <div runat="server" id="ddlvalue">
                        <asp:TextBox ID="txtvalue" runat="server" MaxLength="50"></asp:TextBox>
        </div>
                </div>

            </div>
            <br />


            <%--<td style="vertical-align: middle; width: 20%;" align="left" class="auto-style3">
                                     <asp:TextBox ID="txtvalue" runat="server"></asp:TextBox>
                                   </td>--%>
            <div class="row">
                <div class="col-lg-2 text-right">
                    <span class="control-label">Country:</span>
                </div>
                <div class="col-lg-3">
                    <asp:DropDownList ID="ddlCountry" CssClass="dropdown-header" Style="width: 100%;" runat="server"></asp:DropDownList>
                </div>


                <%--<div class="col-lg-2 text-right">
                    <span class="control-label">State:</span>
                </div>
                <div class="col-lg-3">

                    <asp:TextBox ID="txtState" runat="server"></asp:TextBox>
                </div>--%>
            </div>
            <br />

            <div class="row">
                <div class="col-lg-2 text-right">
                    <span class="control-label">From Date :</span>
                </div>
                <div class="col-lg-3">

                    <asp:TextBox ID="txtDateFrom" runat="server"></asp:TextBox>
                    <asp:ImageButton ID="imgDateFrom" ImageUrl="../Images/calendar.gif" ImageAlign="Bottom" runat="server" Style="display: none" />
                    <ajaxToolkit:CalendarExtender ID="cDateFrom" PopupButtonID="imgPopup" runat="server" TargetControlID="txtDateFrom"
                        Format="dd/MM/yyyy">
                    </ajaxToolkit:CalendarExtender>
                    <asp:RequiredFieldValidator ID="ValidityFromDate" Display="Dynamic" runat="server" ControlToValidate="txtDateFrom"
                        ErrorMessage="Select From Date" ForeColor="Red"></asp:RequiredFieldValidator>
                </div>
                <div class="col-lg-2 text-right">


                    <span class="control-label">Date Upto :</span>
                </div>
                <div class="col-lg-2">
                    <asp:TextBox ID="txtDateUpto" runat="server"></asp:TextBox>
                    <asp:ImageButton ID="imgDateUpto" ImageUrl="../Images/calendar.gif" ImageAlign="Bottom" runat="server" Style="display: none" />
                    <ajaxToolkit:CalendarExtender ID="cDateUpto" PopupButtonID="imgPopup" runat="server" TargetControlID="txtDateUpto"
                        Format="dd/MM/yyyy">
                    </ajaxToolkit:CalendarExtender>
                    <asp:RequiredFieldValidator ID="ValidityToDate" Display="Dynamic" runat="server" ControlToValidate="txtDateUpto"
                        ErrorMessage="Select To Date" ForeColor="Red"></asp:RequiredFieldValidator>
                </div>

            </div>
            &nbsp;
                                                       
                                 <div class="row" style="text-align: center">
                                     <asp:Button ID="btnSearch" OnClick="BtnSearch_OnClick" runat="server"
                                         Text="Search" CausesValidation="false"></asp:Button>
                                     <asp:Button ID="btnClear" OnClick="BtnClear_OnClick" runat="server"
                                         Text="Clear" CausesValidation="false"></asp:Button>
                                 </div>
        </div>
        <br />






        <div class="row">
            <asp:Label runat="server" ID="lblErrorMessage"></asp:Label>
        </div>

        <div class="row"></div>
        <div class="grd_table" style="overflow-x: scroll; overflow-y: scroll; width: 100%; height: 30%; margin: 0px;">
            <asp:GridView ID="gvActivity" runat="server" AllowPaging="True" Width="60%" CssClass="table" PageSize="10"
                AutoGenerateColumns="true" OnPageIndexChanging="gvActivity_PageIndexChanging" OnSelectedIndexChanged="gvActivity_SelectedIndexChanged">
                <%--OnRowDataBound="gvActivity_RowDataBound" OnRowDeleting="gvActivity_RowDeleting"--%>
                <Columns>

                    <%--<asp:BoundField DataField="CandidateName" HeaderText="Candidate Name" Visible="true">
                        <ItemStyle HorizontalAlign="Left" />
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField DataField="CountryName" HeaderText="Country Name">
                        <ItemStyle Width="0%" HorizontalAlign="Left" />
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField DataField="Email" HeaderText="Email ID" InsertVisible="true" Visible="true">
                        <ItemStyle Width="0%" HorizontalAlign="Left" />
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField DataField="RegistrationNo" HeaderText="Registration No">
                        <ItemStyle Width="45%" HorizontalAlign="Left" />
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField DataField="RegistrationDate" HeaderText="Registration Date">
                        <ItemStyle Width="20%" HorizontalAlign="Left" />
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    
                    <asp:BoundField DataField="Paymentamount" HeaderText="Payment Amount">
                        <ItemStyle Width="12%" />
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField DataField="RegistrationsPaymentCompleted" HeaderText="Payment Status">
                        <ItemStyle Width="12%" />
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField DataField="BriefTitle" HeaderText="Brief Name" Visible="true">
                        <ItemStyle HorizontalAlign="Left" />
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField DataField="BriefStartDate" HeaderText="Brief Start Date" Visible="true">
                        <ItemStyle HorizontalAlign="Left" />
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField DataField="BriefEndDate" HeaderText="Brief End Date" Visible="true">
                        <ItemStyle HorizontalAlign="Left" />
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField DataField="AssessorName" HeaderText="Assessor Name" Visible="true">
                        <ItemStyle HorizontalAlign="Left" />
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField DataField="AssessorStatus" HeaderText="Assessor Status" Visible="true">
                        <ItemStyle HorizontalAlign="Left" />
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField DataField="AssessorReviewDate" HeaderText="Assessor Review Date" >
                        <ItemStyle HorizontalAlign="Left" />
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField DataField="AuditorName" HeaderText="Auditor Name" Visible="true">
                        <ItemStyle HorizontalAlign="Left" />
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField DataField="AuditorStatus" HeaderText="Auditor Status" Visible="true">
                        <ItemStyle HorizontalAlign="Left" />
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField DataField="AuditorReviewDate" HeaderText="Auditor Review Date" >
                        <ItemStyle HorizontalAlign="Left" />
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField DataField="IndustryExportName" HeaderText="Industry Expert Name" Visible="true">
                        <ItemStyle HorizontalAlign="Left" />
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField DataField="IndustryExpertStatus" HeaderText="Industry Expert Status" Visible="true">
                        <ItemStyle HorizontalAlign="Left" />
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField DataField="IndustryExpertReviewDate" HeaderText="Industry Export Review Date" >
                        <ItemStyle HorizontalAlign="Left" />
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField DataField="CurrentStatus" HeaderText="Current Status">
                        <ItemStyle Width="45%" HorizontalAlign="Left" />
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField DataField="RDStatus" HeaderText="RD Status">
                        <ItemStyle Width="20%" HorizontalAlign="Left" />
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField DataField="RDReviewDate" HeaderText="RD Review Date">
                        <ItemStyle Width="20%" HorizontalAlign="Left" />
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>--%>







                    <%--<asp:BoundField DataField="CountryName" HeaderText="Country Name" Visible="true">
                                    <ItemStyle HorizontalAlign="Left" />
                                    <HeaderStyle HorizontalAlign="Left" />
                                </asp:BoundField>
                                <asp:BoundField DataField="CountryID" HeaderText="CountryID" Visible="False">
                                    <ItemStyle HorizontalAlign="Left" />
                                    <HeaderStyle HorizontalAlign="Left" />
                                </asp:BoundField>

                                
                                
                                                                  
                                <asp:BoundField DataField="WaitingOn" HeaderText="Registration No">
                                    <ItemStyle Width="45%" HorizontalAlign="Left" />
                                    <HeaderStyle HorizontalAlign="Left" />
                                </asp:BoundField>
                                <asp:BoundField DataField="Days Since Last Process" HeaderText="Registration No">
                                    <ItemStyle Width="45%" HorizontalAlign="Left" />
                                    <HeaderStyle HorizontalAlign="Left" />
                                </asp:BoundField>
                                
                                
                                
                                 
                               <asp:BoundField DataField="Assessor Date" HeaderText="Assessor Date" Visible="true">
                                    <ItemStyle HorizontalAlign="Left" />
                                    <HeaderStyle HorizontalAlign="Left" />
                                </asp:BoundField>
                                 
                                 
                                 <asp:BoundField DataField="Auditor Date" HeaderText="Auditor Date" Visible="true">
                                    <ItemStyle HorizontalAlign="Left" />
                                    <HeaderStyle HorizontalAlign="Left" />
                                </asp:BoundField>
                                
                                
                                <asp:BoundField DataField="Industry Expert Date" HeaderText="Industry Expert Date" Visible="true">
                                    <ItemStyle HorizontalAlign="Left" />
                                    <HeaderStyle HorizontalAlign="Left" />
                                </asp:BoundField>
                                
                                <asp:BoundField DataField="Final Status" HeaderText="Final Status" Visible="true">
                                    <ItemStyle HorizontalAlign="Left" />
                                    <HeaderStyle HorizontalAlign="Left" />
                                </asp:BoundField>

                                <asp:HyperLinkField DataNavigateUrlFields="ActivityID" DataNavigateUrlFormatString="~/Admin/ActivityMasterModify.aspx?agid={0}&mod=up"
                                    HeaderText="Edit" Text="Edit" ItemStyle-Width="12%" ItemStyle-HorizontalAlign="Left" >
                                <ItemStyle HorizontalAlign="Left" Width="12%"></ItemStyle>
                                </asp:HyperLinkField>
                                <asp:TemplateField HeaderText="Delete">
                                <ItemStyle Width="12%" HorizontalAlign="Left" />
                                <ItemTemplate>
                                <asp:LinkButton ID="lnkDelete" CommandArgument='<%# Eval("ActivityID") %>' CommandName="Delete" runat="server"><%# Convert.ToBoolean(Eval("IsActive")) == false ? "Activate" : "Delete"%></asp:LinkButton>
                                </ItemTemplate>
                                </asp:TemplateField>--%>
                </Columns>
                <FooterStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                 <PagerSettings Mode="NumericFirstLast" PageButtonCount="10" FirstPageText="<<" LastPageText=">>" />
                 <PagerStyle BackColor="#E2DED6" CssClass="GridPager" ForeColor="blue" HorizontalAlign="Center" Width="100%" Wrap="false" />
                <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                <EditRowStyle BackColor="#CCCCCC" />
                <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
              </asp:GridView>
            <div class="row" style="text-align: center">
                &nbsp;&nbsp;&nbsp;&nbsp;
                             <asp:Button ID="btnDownload" OnClick="btn_download_Click" runat="server" Text="Export To Excel" Visible="false" CausesValidation="false" />
            </div>
        </div>
    </div>
    <br />

    <input id="hdnInput" runat="server" type="hidden" />




</asp:Content>

